package com.jinmdz.app.dao.model.cremation;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.model.SearchListData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;


@ApiModel(value = "骨灰发放查询实体", description = "骨灰发放查询实体")
public class SearchTakeAshData extends BaseBean {
    /**
     * 业务编码
     */
    @ApiModelProperty(value = "业务编码", name = "businessCode", position = 1)
    private String businessCode;

    /**
     * 逝者姓名
     */
    @ApiModelProperty(value = "逝者姓名", name = "deadName", position = 2)
    private String deadName;

    /**
     * 火化日期
     */
    @ApiModelProperty(value = "火化日期", name = "appointmentDate", example = "2020-02-03", position = 3)
    @JsonFormat(pattern = yyyy_MM_dd)
    private Date appointmentDate;


    /**
     * 火化状态
     */
    @ApiModelProperty(value = "火化状态", name = "processStateCode", position = 4)
    private String processStateCode;


    /**
     * 取灰状态
     */
    @ApiModelProperty(value = "取灰状态", name = "asTakeAsh", position = 5)
    private String asTakeAsh;


    public String getBusinessCode() {
        return businessCode;
    }

    public SearchTakeAshData setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getDeadName() {
        return deadName;
    }

    public SearchTakeAshData setDeadName(String deadName) {
        this.deadName = deadName;
        return this;
    }

    public Date getAppointmentDate() {
        return appointmentDate;
    }

    public SearchTakeAshData setAppointmentDate(Date appointmentDate) {
        this.appointmentDate = appointmentDate;
        return  this;
    }

    public String getProcessStateCode() {
        return processStateCode;

    }

    public SearchTakeAshData setProcessStateCode(String processStateCode) {
        this.processStateCode = processStateCode;
        return this;
    }

    public String getAsTakeAsh() {
        return asTakeAsh;
    }

    public SearchTakeAshData setAsTakeAsh(String asTakeAsh) {
        this.asTakeAsh = asTakeAsh;
        return this;

    }
}
